<?php

namespace App\Models;

use Dcat\Admin\Traits\HasDateTimeFormatter;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;

class SwtDheOrder extends Model
{
    use HasFactory;
	use HasDateTimeFormatter;

    protected $table = 'swt_dhe_order';

    protected $fillable = [
        'order_id',
        'request_id',
        'out_trade_no',
        'device_code',
        'attach',
        'desc',
        'notify_url'
    ];

    public function order()
    {
        return $this->belongsTo(SwtOrder::class);
    }
}
